# encoding: utf-8
# module PyQt5.QtCore
# from /usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so
# by generator 1.146
# no doc

# imports
import sip as __sip


class QLockFile(): # skipped bases: <class 'sip.simplewrapper'>
    """ QLockFile(str) """
    def error(self): # real signature unknown; restored from __doc__
        """ QLockFile.error() -> QLockFile.LockError """
        pass

    def getLockInfo(self): # real signature unknown; restored from __doc__
        """ QLockFile.getLockInfo() -> (bool, int, str, str) """
        pass

    def isLocked(self): # real signature unknown; restored from __doc__
        """ QLockFile.isLocked() -> bool """
        return False

    def lock(self): # real signature unknown; restored from __doc__
        """ QLockFile.lock() -> bool """
        return False

    def removeStaleLockFile(self): # real signature unknown; restored from __doc__
        """ QLockFile.removeStaleLockFile() -> bool """
        return False

    def setStaleLockTime(self, p_int): # real signature unknown; restored from __doc__
        """ QLockFile.setStaleLockTime(int) """
        pass

    def staleLockTime(self): # real signature unknown; restored from __doc__
        """ QLockFile.staleLockTime() -> int """
        return 0

    def tryLock(self, int_timeout=0): # real signature unknown; restored from __doc__
        """ QLockFile.tryLock(int timeout=0) -> bool """
        return False

    def unlock(self): # real signature unknown; restored from __doc__
        """ QLockFile.unlock() """
        pass

    def __init__(self, p_str): # real signature unknown; restored from __doc__
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    LockFailedError = 1
    NoError = 0
    PermissionError = 2
    UnknownError = 3


